#include "readdatathread.h"

ReadDataThread::ReadDataThread(QObject *parent) : QThread(parent)
{

}


void ReadDataThread::run()
{
    int cnt = 0;
    while (true) {
        QThread::msleep(1000);
        emit countChanged(cnt);
        cnt++;
    }
}
